package net.qiqb.core.domain.event;

import java.time.LocalDateTime;

public interface DomainEventLogPersistence {

    DomainEventLog getByEventId(String eventId,String serviceName,String listenerId);

    boolean insert(DomainEventLog domainEventLog);

    boolean updateSuccessById(String id, LocalDateTime beginProcessTime);

    boolean updateFailById(String id,LocalDateTime beginProcessTime,String failMsg);
}
